package o;

import com.huawei.appgallery.packagemanager.api.bean.ManagerTask;
import com.huawei.hms.framework.network.restclient.hianalytics.HianalyticsData;
import java.util.LinkedHashMap;

public class ess extends esh {
    public static void ˊ(int i, ManagerTask managerTask) {
        ese.ˋ(esd.ˊ(ess.class), String.valueOf(i), ˏ(managerTask));
    }

    private static String ˏ(ManagerTask managerTask) {
        if (managerTask == null) {
            return "";
        }
        StringBuilder stringBuilder = new StringBuilder("ManagerTask{");
        stringBuilder.append("taskId=").append(managerTask.taskId);
        stringBuilder.append(", packageName=").append(managerTask.packageName);
        stringBuilder.append(", versionCode=").append(managerTask.versionCode);
        stringBuilder.append(", splitNames=").append(managerTask.splitNames);
        stringBuilder.append(", status=").append(managerTask.status);
        stringBuilder.append(", lastInstallType=").append(managerTask.ᐝ);
        stringBuilder.append('}');
        return stringBuilder.toString();
    }

    protected void ˎ(LinkedHashMap<String, String> linkedHashMap) {
        super.ˎ((LinkedHashMap) linkedHashMap);
        linkedHashMap.put("packageName", ContentManager.getInstant().getContext().getPackageName());
    }

    public String ˏ() {
        return cdj.ˏ() + "003";
    }

    protected String[] ˊ() {
        return new String[]{HianalyticsData.ERROR_CODE, "error_desc"};
    }
}
